<!doctype html>
<title>InG_byr</title>
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}">

<body>

<script type=text/javascript src="{{ url_for('static', filename='jquery-2.2.3.min.js') }}"></script>
<script type=text/javascript>
    $SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
</script>

<div class=page>


    <a href="/index" style="text-decoration:none"><h1>SDN-Paradox</h1></a>
    <div class=metanav>
        {% if not current_user.is_authenticated %}
            <a href="{{ url_for('login') }}">管理员登陆</a>
        {% else %}
            <a href="{{ url_for('sdn_controller') }}">网络管理</a>
            <a href="{{ url_for('logout') }}">注销登陆</a>
        {% endif %}
    </div>
    {% for message in get_flashed_messages() %}
        <div class=flash>{{ message }}</div>
    {% endfor %}
    {% block body %}{% endblock %}
</div>

{#<div class="footer">#}
{#    <a href="http://www.ingbyr.tk" style="text-decoration:none" ,target="_blank">#}
{#        Copyright © InG_byr#}
{#    </a>#}
{#</div>#}
</body>